Crate compress_manager

source ·

Enums

Represents the compression decoding algorithm.
Represents the compression decoding algorithm for directory.
Represents the compression encoding algorithm for directory.
Represents the compression encoding algorithm.

Functions

Archives the source directory “src_dir_path” with archival method and compression and saves to “dst_path”. If “dst_path” exists, it overwrites.
Compresses the contents in “src_path” using compression algorithms and saves it to “dst_path”. Note that even if “dst_path” already exists, it truncates (overwrites).
Un-archives the file with compression and archival method to the destination directory “dst_dir_path”.
Decompresses the contents in “src_path” using compression algorithms and saves it to “dst_path”. Note that even if “dst_path” already exists, it truncates (overwrites).